package zj.it.bhne.gridengineeringsurvey.entity.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;


/**
 * 项目的实体
 */
@Entity
public class Items{

    @Id
    private Long id;

    //在线项目的id
    private String projectId;

    //项目的名称
    private String name;

    //项目的创建时间
    private String time;

    //项目的备注
    private String note;

    //单位信息
    private String unit;

    //是否选中
    private boolean isCheck;

    //电压等级
    private String voltage;

    //建设类型
    private String type;

    //批量操作
    private int batchCheck;

    //项目状态
    private String state;

    //是否勘察完毕 0为未勘察完毕  1为完毕
    private String stop;

    @Generated(hash = 1448829096)
    public Items(Long id, String projectId, String name, String time, String note,
            String unit, boolean isCheck, String voltage, String type,
            int batchCheck, String state, String stop) {
        this.id = id;
        this.projectId = projectId;
        this.name = name;
        this.time = time;
        this.note = note;
        this.unit = unit;
        this.isCheck = isCheck;
        this.voltage = voltage;
        this.type = type;
        this.batchCheck = batchCheck;
        this.state = state;
        this.stop = stop;
    }

    @Generated(hash = 1040818858)
    public Items() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getNote() {
        return this.note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getUnit() {
        return this.unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public boolean getIsCheck() {
        return this.isCheck;
    }

    public void setIsCheck(boolean isCheck) {
        this.isCheck = isCheck;
    }

    public String getVoltage() {
        return this.voltage;
    }

    public void setVoltage(String voltage) {
        this.voltage = voltage;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getBatchCheck() {
        return this.batchCheck;
    }

    public void setBatchCheck(int batchCheck) {
        this.batchCheck = batchCheck;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Items{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", note='" + note + '\'' +
                ", unit='" + unit + '\'' +
                ", isCheck=" + isCheck +
                ", voltage='" + voltage + '\'' +
                ", type='" + type + '\'' +
                ", batchCheck=" + batchCheck +
                ", state='" + state + '\'' +
                '}';
    }

    public String getProjectId() {
        return this.projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getStop() {
        return this.stop;
    }

    public void setStop(String stop) {
        this.stop = stop;
    }
}
